import {reactive,ref} from 'vue'
import { EditType, Title } from '@/type/BaseEnum';
export default function relatedRectModel(){
  const RefAddReactedRect=ref<{show:(type:string,row?:any)=>void}>()
  const showaddReactRect=(row)=>{
    RefAddReactedRect.value?.show(EditType.EDIT,row)
  }
  return {
    RefAddReactedRect,showaddReactRect
  }
}